﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NGinnBPM.Lib.Messages;

namespace NGinnBPM.Runtime.Messages
{
    public class TaskInstanceMessage : ITaskInstanceMessage
    {
        public TaskInstanceMessage()
        {
            Timestamp = DateTime.Now;
        }
        public string TargetTaskInstanceId { get; set; }
        public DateTime Timestamp { get; set; }

        public override string ToString()
        {
            return string.Format("{0} [{1}]", GetType().Name, TargetTaskInstanceId);
        }
    }

    
}
